/**
 * @Author       : Mo 2427995270@qq.com
 * @Date         : 2025-08-17 06:56:57
 * @LastEditTime : 2025-08-17 07:18:37
 * @FilePath     : \ZN-1000-APP\libs\mobl_app.c
 * @Description  : mobl app
 * @Version      : V1.0
 * @History      : 
 * @Note         : 
 */
/***************************************Includes***********************************/
#include "mobl_app.h"

#if defined(GD32F407)
#include "gd32f4xx.h"
#elif defined(STM32F40_41xxx)
#include "stm32f4xx.h"
#elif defined(GD32F10X_HD)
#include "gd32f10x.h"
#elif defined(STM32F10X_HD)
#include "stm32f10x.h"
#elif defined(PY32F071xB)
#include "py32f0xx.h"
#else
#error "No device selected"
#endif

/************************************Private Macros********************************/
//#define


/**********************************Private Statement*******************************/

// 已安装的app信息
file_info_t *installed_app_info = (file_info_t *)(MO_APP_INSTALL_ADDR + MO_APP_INFO_ADDR);
// 固件信息
file_info_t *installed_bl_info = (file_info_t *)(MO_BL_INSTALL_ADDR + MO_BL_INFO_ADDR);

/***********************************Public Variables*******************************/



/**********************************Private Variables*******************************/



/**********************************Public Functions********************************/

void reboot(void) {
    NVIC_SystemReset();
}

/**********************************Private Functions*******************************/


/* [] END OF FILE */
